package com.scs.application.core.pdf;


import com.scs.application.core.pdf.entity.PdfExportParams;
import com.scs.application.core.pdf.service.PdfExportService;

import java.io.OutputStream;
import java.util.List;

/**
 * @description:
 */
public class PdfExportUtils {


    public static void export(OutputStream outputStream, PdfExportParams exportParams) {
        new PdfExportService(outputStream, exportParams).export();
    }

    public static void exportMultiple(OutputStream outputStream, List<PdfExportParams> exportParamsList) {
        new PdfExportService(outputStream, exportParamsList).export();
    }

}
